package com.codeduck.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @date: 2023/3/14
 */
@Service
public class UserService {

    @Autowired
    private RoleService roleService;
    private String name;

    public String getName() {
        return name;
    }

    public String say(String word) {
        return roleService.hello(word);
    }
}
